import cv2
import numpy as np

img = cv2.imread('image.jpg')
rgb_img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) # 将图像从BGR转换为RGB
print("RGB Image: ", rgb_img)